'use strict';

const Controller = require('egg').Controller;

class DashboardController extends Controller {
  async tablestatus() {
    const result = await this.ctx.service.dashboard.dashboard.tablestatus();
    this.ctx.code = 200;
    this.ctx.body = result;
  }
}

module.exports = DashboardController;
